package com.gxar.marketdelivery.shared.utils;

/**
 * @author nice
 * @version 1.0
 * @created 2023/7/21.
 */
public class DBUtils {

    private static final int SUCCESS = 1;

    public static boolean isSuccess(int result) {
        return result == 1;
    }

    public static boolean isFail(int result) {
        return !isSuccess(result);
    }
}
